<?php


namespace App\Http\Controllers\Api;
use App\Http\Controllers\BaseController;
use App\Models\Config;
use Dingo\Api\Http\Request;

class ConfigController extends BaseController
{

    public function info(Request $request) {
        $info = Config::where('category', 'setting')->pluck( 'value', 'key');
        return $this->success($info);
    }
}

